package com.neuedu.live.ui.test;

import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.swing.ImageIcon;
import javax.swing.JLabel;

import com.neuedu.live.ui.JFrameLogin;

public class ShowImage extends JFrameLogin {

	public static void main(String[] args) throws IOException {

		ShowImage show = new ShowImage();
		
		ImageIcon icon = new ImageIcon("imgs/1.png");
		
		JLabel label = new JLabel(icon);
		
		label.setSize(icon.getIconWidth(), icon.getIconHeight());
		
		show.add(label);
				
		show.setVisible(true);
	}

}
